package com.penghaisoft.microwms.material.web.outwarehouse.service;

import java.util.List;

import com.penghaisoft.microwms.common.data.model.RawRequisition;
import com.penghaisoft.microwms.common.dto.Resp;
import com.penghaisoft.microwms.common.page.Pager;

/**
 * @Description 原材料领料单
 * @author luoteng
 * @date 2018年6月19日 上午10:03:58 
 * @version 1.0
 */
public interface IRawRequisitionService{
	
	public Resp create(RawRequisition rawRequisition);
	
	public Resp delete(RawRequisition rawRequisition);
	
	public Pager<RawRequisition> findListByCondition(int page, int rows,RawRequisition condition);
	
	public RawRequisition findById(String id);
	
	public Resp update(RawRequisition rawRequisition);
	
	public Resp batchNormalInsert(List<RawRequisition> list);
	
	public Resp batchNormalHisInsert(List<RawRequisition> list, String errorMsg);
	
	public Resp batchRepairInsert(List<RawRequisition> list);
}
